package com.exonline.commons.base;

import java.sql.SQLException;
import java.util.List;

public interface IBaseService<T> {
    public default List<T> queryAll(int pageSize, int pageNo) throws SQLException {
        return null;
    }

    public default T queryOne(String id) throws SQLException {
        return null;
    }

    public default void add(Object... obj) throws SQLException {

    }

    public default void update(Object... obj) throws SQLException {

    }

    public default void deleteById(String id) throws SQLException {

    }
}
